package com.menu.Pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderVo {
    @ApiModelProperty(value = "订单号")
    private Long orderId;
    @ApiModelProperty(value = "订单总价格")
    private String orderPrice;
    @ApiModelProperty(value = "商品件数")
    private Integer goodsNumber;
    @ApiModelProperty(value = "商品id")
    private Integer goodsId;
    @ApiModelProperty(value = "订单生成时间")
    private String orderTime;
    @ApiModelProperty(value = "下单人")
    private Integer userId;
    @ApiModelProperty(value = "0 未完成 1完成 2超时取消 3申请退款 4申请退款 5已发货 6退款成功")
    private Integer state = 0;
    @ApiModelProperty(value = "商品名称")
    private String goodsName;
    @ApiModelProperty("详细地址")
    private String addressMessage;
    @ApiModelProperty(value = "商品封面图,修改时必须带上")
    private String goodsSurfaceimg;
    @JsonIgnore
    @ApiModelProperty(value = "商品价格整数",hidden = true)
    private Integer goodsPriceInt;
    @JsonIgnore
    @ApiModelProperty(value = "商品价格小数",hidden = true)
    private Integer goodsPriceDec;
}
